package com.qf.service.impl;

import com.qf.mapper.SysRoleMapper;
import com.qf.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

@Service
public class SysRoleServiceImpl implements SysRoleService {

    @Autowired
    SysRoleMapper roleMapper;

    @Override
    public Set<String> findRolesByUserId(int userId) {
        return roleMapper.findRolesByUserId(userId);
    }
}